package com.kunpan.admin.mapper;


import com.kunpan.admin.entity.FileShare;
import com.kunpan.admin.entity.dto.FileShareDto;
import com.kunpan.admin.entity.vo.FileShareVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

@Mapper
public interface FileShareMapper {


    public FileShare getFileShareInfo(FileShare fileShare);

    public int addFileShare(FileShare fileShare);

    FileShareVo getFileShareInfoByParams(@Param("pathParams") String pathParams);

    int updateFileShare(FileShare fileShare);

    FileShareVo getFileShareInfoById(@Param("shareId") String shareId,@Param("pathParams") String pathParam);

    List<FileShareVo> selectFileShareList(FileShareDto fileShareDto);

    void updateFileShareStatus(@Param("ids") String[] ids);
}
